package com.itheima.mytest1;

public class MyTest1 {
    public static void main(String[] args) {
        //使用System.out.println打印对象时,底层调用的是被打印对象的toString方法
        System.out.println(new Student(1,"zhangsan"));
        System.out.println("sss");
    }
}
